<template>
  <div class="">
    {{ list }}
  </div>
</template>

<script lang="ts">
import { ref, reactive, toRefs, defineComponent, computed } from "vue";
import { useStore } from "vuex";
import { useRouter, useRoute } from "vue-router";
export default defineComponent({
  setup(props, ctx) {
    const store = useStore();
    const router = useRouter();
    const route = useRoute();
    const data = reactive({});
    const list = computed(() => {
      return store.state.list;
    });
    return { ...toRefs(data), list };
  },
});
</script>

<style lang="scss"></style>
